package edu.osu.cse.c651.cryptochess;

/**
 * Represents the icons available to the user to represent themselves.
 * @author Katherine Tornwall
 */
public enum UserIcon {
	pawn_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_1;
		}
	},
	pawn_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_2;
		}
	},
	rook_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_11;
		}
	},
	rook_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_12;
		}
	},
	knight_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_3;
		}
	},
	knight_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_4;
		}
	},
	bishop_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_10;
		}
	},
	bishop_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_9;
		}
	},
	queen_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_7;
		}
	},
	queen_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_8;
		}
	},
	king_white {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_5;
		}
	},
	king_black {
		@Override
		public int getIconId() {
			return R.drawable.user_icon_6;
		}
	};

	/**
	 * Returns the drawable resource id associated with the enumeration value.
	 * @return drawable resource id
	 */
	public abstract int getIconId();
};
